package kr.hkit.powerjava.chapter06.submit;

public class exercise012 {
	public static void main(String[] args) {
		
		int x = 2, y = 5;
		int max, min;
		if (x>y) {
			max = x;
			min = y;
		} else {
			max = y;
			min = x;
		}
		System.out.println("max:" + max + ", min:" + min);
	}
}
